package org.demo.szml.userservice.config;

import cn.dev33.satoken.jwt.SaJwtTemplate;
import cn.dev33.satoken.jwt.StpLogicJwtForSimple;
import cn.dev33.satoken.stp.StpLogic;
import org.demo.szml.userservice.utils.JwtUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * @description: sa-token配置
 * @date: 2025/6/17 22:49
 * @version: 1.0
 */
@Configuration
public class SaTokenConfiguration {

    @Bean
    public StpLogic stpLogicJwt() {
        return new StpLogicJwtForSimple();
    }



}
